<script setup>
// 不需要导入任何组件，路由会自动处理
</script>

<template>
  <div class="app-container">

    
    <main class="app-content">
      <router-view />
    </main>
    
    <footer class="app-footer">
      <p>© 2024 基金模拟系统 - 基于Vue3开发</p>
    </footer>
  </div>
</template>

<style>
/* 全局样式 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f5f7fa;
  color: #333;
  line-height: 1.6;
}
</style>

<style scoped>
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
}

.app-header {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1px 2px;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 32px;
  margin-right: 1px;
}

.app-content {
  flex: 1;
  padding: 0;
  width: 100%;
  max-width: 100%;
}

.app-footer {
  background-color: #ffffff;
  text-align: center;
  padding: 1px;
  font-size: 14px;
  color: #666;
  border-top: 1px solid #eaeaea;
}
</style>
